#ifndef __WOOD_BLOCK_H__
#define __WOOD_BLOCK_H__

#include "Block.hpp"

namespace PocketSurvival
{
    class WoodBlock : public Block
    {
    public:
		WoodBlock();
        virtual BlockPlacementData getPlacementValue(ComponentMiner *componentMiner, int32_t value, const TerrainRaycastResult &raycastResult) override; 
        virtual void getDropValues(int32_t oldValue, int32_t newValue, int32_t toolLevel, std::vector<BlockDropValue> &dropValues) override;
        static inline int32_t SetCutFace(int32_t data, int32_t cutFace)
        {
			data &= -4;
			switch (cutFace)
			{
			case 0:
			case 2:
				return data | 1;
			case 1:
			case 3:
				return data | 2;
			default:
				return data;
			}
        }
    };

} // namespace PocketSurvival

#endif